package com.dfbz.bigdata.api;


import com.dfbz.bigdata.common.utils.R;
import com.dfbz.bigdata.domain.CommonGoods;
import com.dfbz.bigdata.domain.UserBrand;
import com.dfbz.bigdata.domain.UserDesignerandpersonal;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Auther:东方标准
 * @Date:2022/9/25-09-25-20:28
 * @Decsription:com.dfbz.bigdata.api
 * @Version:1.0
 */
@FeignClient(value = "dfbzproject-system")
public interface UserDesignerApi {

    @GetMapping("/uduser/{id}")
    R<UserDesignerandpersonal> findById(@PathVariable("id") Long id);

    @GetMapping("/goods/{id}")
    R<CommonGoods> findGoodsById(@PathVariable("id") Long id);

    @GetMapping("/buser/{id}")
    R<UserBrand> findBrandById(@PathVariable("id") Long id);
}
